import request from '@/utils/request'

// 查询客户公司信息列表
export function listCpad_company(query) {
  return request({
    url: '/business/cpad_company/list',
    method: 'get',
    params: query
  })
}

// 查询客户公司信息详细
export function getCpad_company(id) {
  return request({
    url: '/business/cpad_company/' + id,
    method: 'get'
  })
}

// 新增客户公司信息
export function addCpad_company(data) {
  return request({
    url: '/business/cpad_company',
    method: 'post',
    data: data
  })
}

// 修改客户公司信息
export function updateCpad_company(data) {
  return request({
    url: '/business/cpad_company',
    method: 'put',
    data: data
  })
}

// 删除客户公司信息
export function delCpad_company(id) {
  return request({
    url: '/business/cpad_company/' + id,
    method: 'delete'
  })
}
